package org.hongqi.common.senpec.person.certification.batch;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class CertificationBatch {
    @ExcelProperty(value = "id")
    private Long id;

    @ExcelProperty(value = "证书编号")
    private String certificationNo;//证书编号

    @ExcelProperty(value = "持有者姓名")
    private String userName;

    @ExcelProperty(value = "持有者帐号")
    private String userUsername;//证书持有者用户名

    @ExcelProperty(value = "工号")
    private String userJobNo;

    @ExcelProperty(value = "领域")
    private String zone;  //证书所属领域

    @ExcelIgnore
    private String method;//方法简称如UT/RT/ET等

    @ExcelProperty(value = "方法")
    private String methodStr;

    @ExcelProperty(value = "等级")
    private String level; //证书等级

    @ExcelProperty(value = "发证日期")
    private LocalDate certifyDate;

    @ExcelProperty(value = "生效日期")
    private LocalDate startDate;

    @ExcelProperty(value = "失效日期")
    private LocalDate endDate;

    @ExcelProperty(value = "是否有效")
    private Boolean isValid = true;
}
